/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package deneme;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author tboyuktas
 */
@Entity
@Table(name = "addbook")
public class Addbook {

    @Id
    @Column(name = "book_id")
    private Integer bookId;

    @Column(name = "book_type")
    private String type;

    @Column(name = "published_year")
    private Integer pub_year;

    @Column(name = "author_number")
    private Integer author_num;

    @Column(name = "book_name")
    private String bookName;

    @Column(name = "editor_name")
    private String editName;
    @Column(name = "isbn_no")
    private String isbn;

    @Column(name = "page_number")
    private Integer page_num;

    @Column(name = "publisher")
    private String pub;

    public int getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getPub_year() {
        return pub_year;
    }

    public void setPub_year(Integer pub_year) {
        this.pub_year = pub_year;
    }

    public Integer getAuthor_num() {
        return author_num;
    }

    public void setAuthor_num(Integer author_num) {
        this.author_num = author_num;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getEditName() {
        return editName;
    }

    public void setEditName(String editName) {
        this.editName = editName;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public int getPage_num() {
        return page_num;
    }

    public void setPage_num(int page_num) {
        this.page_num = page_num;
    }

    public String getPub() {
        return pub;
    }

    public void setPub(String pub) {
        this.pub = pub;
    }

   
}
